package org.catspaw.cherubim.persistence.mock.dao.mybatis;

import org.catspaw.cherubim.persistence.mapping.EntityMappingResolver;

public class MockEntityMappingResolver implements EntityMappingResolver {

	public String getColumn(String propertyName) {
		return propertyName;
	}

	public String[] getColumns() {
		return new String[] { "id", "name", "age" };
	}

	public String getIdColumn() {
		return "id";
	}

	public String getIdProperty() {
		return "id";
	}

	public String[] getProperties() {
		return new String[] { "id", "name", "age" };
	}

	public String getProperty(String column) {
		return column;
	}

	public String getTable() {
		return "mock_person";
	}
}
